package com.clcao.mybatis.services.service.scan.impl;

import com.clcao.mybatis.common.result.Result;
import com.clcao.mybatis.common.result.ResultUtil;
import com.clcao.mybatis.services.mapper.AppBranchConfigMapper;
import com.clcao.mybatis.services.scan.AppBranchConfigEntity;
import com.clcao.mybatis.services.service.scan.AppBranchConfigService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author clcao
 * @since 2025/3/12
 */
@Service
public class AppBranchConfigServiceImpl implements AppBranchConfigService {
    @Resource
    private AppBranchConfigMapper appBranchConfigMapper;
    @Override
    public Result<List<AppBranchConfigEntity>> selectAll() {
        List<AppBranchConfigEntity> data = appBranchConfigMapper.selectAll();
        return ResultUtil.ok(data);
    }
}
